<extend name="Layout:base_edit" />
<block name="body_content_block">
    <taglib name="Common\TagLib\Sohtml"/>
    <form action="{:U('Notices/save_notices_json')}" method="post">
        <table>
                <th>标题：</th>
                <td><input type="text" name="title" class="easyui-textbox" placeholder="用户名" value="{$data.title}" required="required"/></td>
            </tr>
            <tr>
                <th>内容：</th>
                <td><textarea name="content" placeholder="姓名">{$data.content}</textarea></td>
            </tr>
            <tr>
                <th>状态：</th>
                <td><sohtml:radio name="state" items="0=隐藏;1=显示;4=关闭" value="{$data.state|default=1}" /></td>
            </tr>
        </table>
        <input type='hidden' name="id" value="{$data.id}" />
    </form>  
</block>
<block name="body_after_block">
    <script type="text/javascript">        
        item_form.resize_owner_dialog({width:338});
    </script>
</block>